GtkFileChooserEntry: handle slow folders by not autocompleting when the cursor is...
authorFederico Mena Quintero <federico@novell.com>
Fri, 23 Jan 2009 01:52:36 +0000 (01:52 +0000)
committerFederico Mena Quintero <federico@src.gnome.org>
Fri, 23 Jan 2009 01:52:36 +0000 (01:52 +0000)
commitba54644c3874e2fa8d8429883479a34d3e351285
tree7854fe05e995deeda22a445baabc79cee35ccd30
parent0b2554da86cbdc09686363b3ecd2208365402540
GtkFileChooserEntry: handle slow folders by not autocompleting when the cursor is not at the end of the text
2009-01-22  Federico Mena Quintero  <federico@novell.com>

* gtk/gtkfilechooserentry.c (autocomplete): Relax the assertion;
just do nothing if the folder is not loaded or if the cursor position
is not at the end of the text.  A very slow-to-load folder can get
us into the latter state if the user starts typing first.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
svn path=/trunk/; revision=22186
ChangeLog
gtk/gtkfilechooserentry.c